extend ../_/layout

block run
  script.
    /* global PullToRefresh */
    PullToRefresh.init({
      mainElement: '#main',
      onRefresh: function() { alert('refresh') }
    });
